package com.tsingteng.cosfun.ui.message.comment.usercomment;

import com.tsingteng.cosfun.bean.BaseDataBean;
import com.tsingteng.cosfun.bean.Bean;
import com.tsingteng.cosfun.bean.ParagraphComment;
import com.tsingteng.cosfun.bean.PlayCommont;
import com.tsingteng.cosfun.bean.PullBlackBean;
import com.tsingteng.cosfun.bean.UserCommentResultBean;
import com.tsingteng.cosfun.callback.RxObserver;

import retrofit2.Callback;

/**
 * @我。赞我。评论我页面点击展示段子评论页M
 * 常胜
 * 2018.8.23
 * */
public interface IUserCommentModel {

    /**
     * 获取便当评论列表
     *
     * @param workId
     * @param page
     * @param id  */
    void getPlayCommentListResponse(int workId, int page, String id, Callback<BaseDataBean<PlayCommont>> callback);

    /**
     * 进行对便当的评论
     * @param id
     * @param contentType
     * @param content
     * @param reply_id
     * @param commentId   */
    void getMyPlayCommentResponse(int id, String contentType, String content, String reply_id, int commentId, Callback<UserCommentResultBean> callback);

    /**
     * 段子或者评论点赞或取消点赞 点赞类型0-段子 1-段子评论或回复

     * @param id
     * type
     * @param callback
     */
    void getPraiseOrNot(String praise_type,String id,String type,Callback<PullBlackBean> callback);

    /**
     * 删除评论
     *
     * @param commentId
     * @param callback*/

    void getDeleteCommentResponse(int commentId, Callback<PullBlackBean> callback);

    /**
     *  //评价段子或回复  评论类型0-便当 1-段子
     * @param paragraph_id
     * @param comment_type
     * @param content
     * @param comment_object_id
     * @param callback
     */
    void getAddPlayComment(String paragraph_id,String comment_type,String content,String comment_object_id,Callback<BaseDataBean<ParagraphComment>> callback);
}
